<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>AddressResolverOptions | @vertx/core</title>
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">@vertx/core</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="addressresolveroptions.html">AddressResolverOptions</a>
				</li>
			</ul>
			<h1>Class AddressResolverOptions</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p>Configuration options for Vert.x hostname resolver. The resolver uses the local <i>hosts</i> file and performs
						DNS <i>A</i> and <i>AAAA</i> queries.</p>
					</div>
					<dl class="tsd-comment-tags">
						<dt>author</dt>
						<dd><p><a href="mailto:julien@julienviet.com">Julien Viet</a></p>
						</dd>
					</dl>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">AddressResolverOptions</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="addressresolveroptions.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#addsearchdomain" class="tsd-kind-icon">add<wbr>Search<wbr>Domain</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#addserver" class="tsd-kind-icon">add<wbr>Server</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#getcachemaxtimetolive" class="tsd-kind-icon">get<wbr>Cache<wbr>Max<wbr>Time<wbr>ToLive</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#getcachemintimetolive" class="tsd-kind-icon">get<wbr>Cache<wbr>Min<wbr>Time<wbr>ToLive</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#getcachenegativetimetolive" class="tsd-kind-icon">get<wbr>Cache<wbr>Negative<wbr>Time<wbr>ToLive</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#gethostspath" class="tsd-kind-icon">get<wbr>Hosts<wbr>Path</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#gethostsvalue" class="tsd-kind-icon">get<wbr>Hosts<wbr>Value</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#getmaxqueries" class="tsd-kind-icon">get<wbr>Max<wbr>Queries</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#getndots" class="tsd-kind-icon">get<wbr>Ndots</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#getquerytimeout" class="tsd-kind-icon">get<wbr>Query<wbr>Timeout</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#getrdflag" class="tsd-kind-icon">get<wbr>RdFlag</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#getsearchdomains" class="tsd-kind-icon">get<wbr>Search<wbr>Domains</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#getservers" class="tsd-kind-icon">get<wbr>Servers</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#isoptresourceenabled" class="tsd-kind-icon">is<wbr>Opt<wbr>Resource<wbr>Enabled</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#isrotateservers" class="tsd-kind-icon">is<wbr>Rotate<wbr>Servers</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#setcachemaxtimetolive" class="tsd-kind-icon">set<wbr>Cache<wbr>Max<wbr>Time<wbr>ToLive</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#setcachemintimetolive" class="tsd-kind-icon">set<wbr>Cache<wbr>Min<wbr>Time<wbr>ToLive</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#setcachenegativetimetolive" class="tsd-kind-icon">set<wbr>Cache<wbr>Negative<wbr>Time<wbr>ToLive</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#sethostspath" class="tsd-kind-icon">set<wbr>Hosts<wbr>Path</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#sethostsvalue" class="tsd-kind-icon">set<wbr>Hosts<wbr>Value</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#setmaxqueries" class="tsd-kind-icon">set<wbr>Max<wbr>Queries</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#setndots" class="tsd-kind-icon">set<wbr>Ndots</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#setoptresourceenabled" class="tsd-kind-icon">set<wbr>Opt<wbr>Resource<wbr>Enabled</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#setquerytimeout" class="tsd-kind-icon">set<wbr>Query<wbr>Timeout</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#setrdflag" class="tsd-kind-icon">set<wbr>RdFlag</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#setrotateservers" class="tsd-kind-icon">set<wbr>Rotate<wbr>Servers</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#setsearchdomains" class="tsd-kind-icon">set<wbr>Search<wbr>Domains</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="addressresolveroptions.html#setservers" class="tsd-kind-icon">set<wbr>Servers</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Address<wbr>Resolver<wbr>Options<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
						<li class="tsd-signature tsd-kind-icon">new <wbr>Address<wbr>Resolver<wbr>Options<span class="tsd-signature-symbol">(</span>obj<span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:25</li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:27</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>obj: <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="addsearchdomain" class="tsd-anchor"></a>
					<h3>add<wbr>Search<wbr>Domain</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">add<wbr>Search<wbr>Domain<span class="tsd-signature-symbol">(</span>searchDomains<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:257</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the lists of DNS search domains.
										<p/>
											When the search domain list is null, the effective search domain list will be populated using
										the system DNS search domains.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>searchDomains: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the search domains</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="addserver" class="tsd-anchor"></a>
					<h3>add<wbr>Server</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">add<wbr>Server<span class="tsd-signature-symbol">(</span>servers<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:290</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the list of DNS server addresses, an address is the IP  of the dns server, followed by an optional
										colon and a port, e.g {@code 8.8.8.8} or {code 192.168.0.1:40000}. When the list is empty, the resolver
										will use the list of the system DNS server addresses from the environment, if that list cannot be retrieved
									it will use Google&#39;s public DNS servers {@code &quot;8.8.8.8&quot;} and {@code &quot;8.8.4.4&quot;}.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>servers: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the list of DNS servers</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getcachemaxtimetolive" class="tsd-anchor"></a>
					<h3>get<wbr>Cache<wbr>Max<wbr>Time<wbr>ToLive</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Cache<wbr>Max<wbr>Time<wbr>ToLive<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:36</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the cache maximum TTL value in seconds. After successful resolution IP addresses are cached with their DNS response TTL,
									use this to set a maximum value to all responses TTL.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getcachemintimetolive" class="tsd-anchor"></a>
					<h3>get<wbr>Cache<wbr>Min<wbr>Time<wbr>ToLive</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Cache<wbr>Min<wbr>Time<wbr>ToLive<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:54</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the cache minimum TTL value in seconds. After resolution successful IP addresses are cached with their DNS response TTL,
									use this to set a minimum value to all responses TTL.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getcachenegativetimetolive" class="tsd-anchor"></a>
					<h3>get<wbr>Cache<wbr>Negative<wbr>Time<wbr>ToLive</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Cache<wbr>Negative<wbr>Time<wbr>ToLive<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:73</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the negative cache TTL value in seconds. After a failed hostname resolution, DNS queries won&#39;t be retried
										for a period of time equals to the negative TTL. This allows to reduce the response time of negative replies
									and reduce the amount of messages to DNS servers.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="gethostspath" class="tsd-anchor"></a>
					<h3>get<wbr>Hosts<wbr>Path</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Hosts<wbr>Path<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:93</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the path of an alternate hosts configuration file to use instead of the one provided by the os.
										<p/>
										The default value is null, so the operating system hosts config is used.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="gethostsvalue" class="tsd-anchor"></a>
					<h3>get<wbr>Hosts<wbr>Value</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Hosts<wbr>Value<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="buffer.html" class="tsd-signature-type">Buffer</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:115</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set an alternate hosts configuration file to use instead of the one provided by the os.
										<p/>
											The value should contain the hosts content literaly, for instance <i>127.0.0.1 localhost</i>
											<p/>
											The default value is null, so the operating system hosts config is used.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <a href="buffer.html" class="tsd-signature-type">Buffer</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getmaxqueries" class="tsd-anchor"></a>
					<h3>get<wbr>Max<wbr>Queries</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Max<wbr>Queries<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:135</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the maximum number of queries when an hostname is resolved.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getndots" class="tsd-anchor"></a>
					<h3>get<wbr>Ndots</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Ndots<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:152</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the ndots value used when resolving using search domains, the default value is {@code -1} which
									determines the value from the OS on Linux or uses the value {@code 1}.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getquerytimeout" class="tsd-anchor"></a>
					<h3>get<wbr>Query<wbr>Timeout</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Query<wbr>Timeout<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:187</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the query timeout in milliseconds, i.e the amount of time after a query is considered to be failed.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getrdflag" class="tsd-anchor"></a>
					<h3>get<wbr>RdFlag</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>RdFlag<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:203</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the DNS queries <i>Recursion Desired</i> flag value.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getsearchdomains" class="tsd-anchor"></a>
					<h3>get<wbr>Search<wbr>Domains</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Search<wbr>Domains<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:237</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the lists of DNS search domains.
										<p/>
											When the search domain list is null, the effective search domain list will be populated using
										the system DNS search domains.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getservers" class="tsd-anchor"></a>
					<h3>get<wbr>Servers</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Servers<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:268</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the list of DNS server addresses, an address is the IP  of the dns server, followed by an optional
										colon and a port, e.g {@code 8.8.8.8} or {code 192.168.0.1:40000}. When the list is empty, the resolver
										will use the list of the system DNS server addresses from the environment, if that list cannot be retrieved
									it will use Google&#39;s public DNS servers {@code &quot;8.8.8.8&quot;} and {@code &quot;8.8.4.4&quot;}.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="isoptresourceenabled" class="tsd-anchor"></a>
					<h3>is<wbr>Opt<wbr>Resource<wbr>Enabled</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Opt<wbr>Resource<wbr>Enabled<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:170</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set to true to enable the automatic inclusion in DNS queries of an optional record that hints
									the remote DNS server about how much data the resolver can read per response.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="isrotateservers" class="tsd-anchor"></a>
					<h3>is<wbr>Rotate<wbr>Servers</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">is<wbr>Rotate<wbr>Servers<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:219</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set to {@code true} to enable round-robin selection of the dns server to use. It spreads the query load
									among the servers and avoids all lookup to hit the first server of the list.</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setcachemaxtimetolive" class="tsd-anchor"></a>
					<h3>set<wbr>Cache<wbr>Max<wbr>Time<wbr>ToLive</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Cache<wbr>Max<wbr>Time<wbr>ToLive<span class="tsd-signature-symbol">(</span>cacheMaxTimeToLive<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:45</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the cache maximum TTL value in seconds. After successful resolution IP addresses are cached with their DNS response TTL,
									use this to set a maximum value to all responses TTL.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>cacheMaxTimeToLive: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the cache max TTL in seconds</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setcachemintimetolive" class="tsd-anchor"></a>
					<h3>set<wbr>Cache<wbr>Min<wbr>Time<wbr>ToLive</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Cache<wbr>Min<wbr>Time<wbr>ToLive<span class="tsd-signature-symbol">(</span>cacheMinTimeToLive<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:63</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the cache minimum TTL value in seconds. After resolution successful IP addresses are cached with their DNS response TTL,
									use this to set a minimum value to all responses TTL.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>cacheMinTimeToLive: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the cache min TTL in seconds</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setcachenegativetimetolive" class="tsd-anchor"></a>
					<h3>set<wbr>Cache<wbr>Negative<wbr>Time<wbr>ToLive</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Cache<wbr>Negative<wbr>Time<wbr>ToLive<span class="tsd-signature-symbol">(</span>cacheNegativeTimeToLive<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:83</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the negative cache TTL value in seconds. After a failed hostname resolution, DNS queries won&#39;t be retried
										for a period of time equals to the negative TTL. This allows to reduce the response time of negative replies
									and reduce the amount of messages to DNS servers.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>cacheNegativeTimeToLive: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the cache negative TTL in seconds</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="sethostspath" class="tsd-anchor"></a>
					<h3>set<wbr>Hosts<wbr>Path</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Hosts<wbr>Path<span class="tsd-signature-symbol">(</span>hostsPath<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:103</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the path of an alternate hosts configuration file to use instead of the one provided by the os.
										<p/>
										The default value is null, so the operating system hosts config is used.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>hostsPath: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the hosts path</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="sethostsvalue" class="tsd-anchor"></a>
					<h3>set<wbr>Hosts<wbr>Value</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Hosts<wbr>Value<span class="tsd-signature-symbol">(</span>hostsValue<span class="tsd-signature-symbol">: </span><a href="buffer.html" class="tsd-signature-type">Buffer</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:127</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set an alternate hosts configuration file to use instead of the one provided by the os.
										<p/>
											The value should contain the hosts content literaly, for instance <i>127.0.0.1 localhost</i>
											<p/>
											The default value is null, so the operating system hosts config is used.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>hostsValue: <a href="buffer.html" class="tsd-signature-type">Buffer</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>the hosts content</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setmaxqueries" class="tsd-anchor"></a>
					<h3>set<wbr>Max<wbr>Queries</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Max<wbr>Queries<span class="tsd-signature-symbol">(</span>maxQueries<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:143</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the maximum number of queries when an hostname is resolved.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>maxQueries: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the max number of queries to be sent</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setndots" class="tsd-anchor"></a>
					<h3>set<wbr>Ndots</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Ndots<span class="tsd-signature-symbol">(</span>ndots<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:161</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the ndots value used when resolving using search domains, the default value is {@code -1} which
									determines the value from the OS on Linux or uses the value {@code 1}.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>ndots: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the new ndots value</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setoptresourceenabled" class="tsd-anchor"></a>
					<h3>set<wbr>Opt<wbr>Resource<wbr>Enabled</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Opt<wbr>Resource<wbr>Enabled<span class="tsd-signature-symbol">(</span>optResourceEnabled<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:179</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set to true to enable the automatic inclusion in DNS queries of an optional record that hints
									the remote DNS server about how much data the resolver can read per response.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>optResourceEnabled: <span class="tsd-signature-type">boolean</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>true to enable, false otherwise</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setquerytimeout" class="tsd-anchor"></a>
					<h3>set<wbr>Query<wbr>Timeout</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Query<wbr>Timeout<span class="tsd-signature-symbol">(</span>queryTimeout<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:195</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the query timeout in milliseconds, i.e the amount of time after a query is considered to be failed.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>queryTimeout: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the query timeout in milliseconds</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setrdflag" class="tsd-anchor"></a>
					<h3>set<wbr>RdFlag</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>RdFlag<span class="tsd-signature-symbol">(</span>rdFlag<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:211</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the DNS queries <i>Recursion Desired</i> flag value.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>rdFlag: <span class="tsd-signature-type">boolean</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the flag value</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setrotateservers" class="tsd-anchor"></a>
					<h3>set<wbr>Rotate<wbr>Servers</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Rotate<wbr>Servers<span class="tsd-signature-symbol">(</span>rotateServers<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:227</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set to {@code true} to enable round-robin selection of the dns server to use. It spreads the query load
									among the servers and avoids all lookup to hit the first server of the list.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>rotateServers: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setsearchdomains" class="tsd-anchor"></a>
					<h3>set<wbr>Search<wbr>Domains</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Search<wbr>Domains<span class="tsd-signature-symbol">(</span>searchDomains<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:247</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the lists of DNS search domains.
										<p/>
											When the search domain list is null, the effective search domain list will be populated using
										the system DNS search domains.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>searchDomains: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the search domains</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setservers" class="tsd-anchor"></a>
					<h3>set<wbr>Servers</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Servers<span class="tsd-signature-symbol">(</span>servers<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in options.d.ts:279</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Set the list of DNS server addresses, an address is the IP  of the dns server, followed by an optional
										colon and a port, e.g {@code 8.8.8.8} or {code 192.168.0.1:40000}. When the list is empty, the resolver
										will use the list of the system DNS server addresses from the environment, if that list cannot be retrieved
									it will use Google&#39;s public DNS servers {@code &quot;8.8.8.8&quot;} and {@code &quot;8.8.4.4&quot;}.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>servers: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>the list of DNS servers</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="addressresolveroptions.html" class="tsd-signature-type">AddressResolverOptions</a></h4>
							<p>a reference to this, so the API can be used fluently</p>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class">
						<a href="addressresolveroptions.html" class="tsd-kind-icon">Address<wbr>Resolver<wbr>Options</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class">
								<a href="addressresolveroptions.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#addsearchdomain" class="tsd-kind-icon">add<wbr>Search<wbr>Domain</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#addserver" class="tsd-kind-icon">add<wbr>Server</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#getcachemaxtimetolive" class="tsd-kind-icon">get<wbr>Cache<wbr>Max<wbr>Time<wbr>ToLive</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#getcachemintimetolive" class="tsd-kind-icon">get<wbr>Cache<wbr>Min<wbr>Time<wbr>ToLive</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#getcachenegativetimetolive" class="tsd-kind-icon">get<wbr>Cache<wbr>Negative<wbr>Time<wbr>ToLive</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#gethostspath" class="tsd-kind-icon">get<wbr>Hosts<wbr>Path</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#gethostsvalue" class="tsd-kind-icon">get<wbr>Hosts<wbr>Value</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#getmaxqueries" class="tsd-kind-icon">get<wbr>Max<wbr>Queries</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#getndots" class="tsd-kind-icon">get<wbr>Ndots</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#getquerytimeout" class="tsd-kind-icon">get<wbr>Query<wbr>Timeout</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#getrdflag" class="tsd-kind-icon">get<wbr>RdFlag</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#getsearchdomains" class="tsd-kind-icon">get<wbr>Search<wbr>Domains</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#getservers" class="tsd-kind-icon">get<wbr>Servers</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#isoptresourceenabled" class="tsd-kind-icon">is<wbr>Opt<wbr>Resource<wbr>Enabled</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#isrotateservers" class="tsd-kind-icon">is<wbr>Rotate<wbr>Servers</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#setcachemaxtimetolive" class="tsd-kind-icon">set<wbr>Cache<wbr>Max<wbr>Time<wbr>ToLive</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#setcachemintimetolive" class="tsd-kind-icon">set<wbr>Cache<wbr>Min<wbr>Time<wbr>ToLive</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#setcachenegativetimetolive" class="tsd-kind-icon">set<wbr>Cache<wbr>Negative<wbr>Time<wbr>ToLive</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#sethostspath" class="tsd-kind-icon">set<wbr>Hosts<wbr>Path</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#sethostsvalue" class="tsd-kind-icon">set<wbr>Hosts<wbr>Value</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#setmaxqueries" class="tsd-kind-icon">set<wbr>Max<wbr>Queries</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#setndots" class="tsd-kind-icon">set<wbr>Ndots</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#setoptresourceenabled" class="tsd-kind-icon">set<wbr>Opt<wbr>Resource<wbr>Enabled</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#setquerytimeout" class="tsd-kind-icon">set<wbr>Query<wbr>Timeout</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#setrdflag" class="tsd-kind-icon">set<wbr>RdFlag</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#setrotateservers" class="tsd-kind-icon">set<wbr>Rotate<wbr>Servers</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#setsearchdomains" class="tsd-kind-icon">set<wbr>Search<wbr>Domains</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="addressresolveroptions.html#setservers" class="tsd-kind-icon">set<wbr>Servers</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
				<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
				<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
				<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
				<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
				<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
				<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
</body>
</html>